package com.anli02.entity.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("online_music")
@ApiModel(value="OnlineMusic对象", description="")
public class OnlineMusic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "music", type = IdType.ASSIGN_ID)
    private String music;

    private String userid;

    private String musicName;

    private String fileLocation;

    private LocalDate uploadDate;

    private Integer likes;

    private Integer views;

    private Integer comments;

    private BigDecimal latitude;

    private BigDecimal longitude;
@ApiModelProperty(hidden = true,value = "文件")
    private MultipartFile file;
    @ApiModelProperty(hidden = true,value = "分页")
    private int  page;


}
